Skip to content

[ObsOnboarding] Fix playwright tests#262525

Merged
diogolima-elastic merged 4 commits into
elastic:mainfrom
diogolima-elastic:fix-nightly-test
Apr 13, 2026
Merged

[ObsOnboarding] Fix playwright tests#262525
diogolima-elastic merged 4 commits into
elastic:mainfrom
diogolima-elastic:fix-nightly-test

Conversation

@diogolima-elastic
Copy link
Copy Markdown
Contributor

Summary

PR #257870 introduced a checkPreExistingData mechanism to the shared DataIngestStatus component that conditionally hides the ProgressIndicator when pre-existing data is detected but no new data has arrived yet. This broke the Ensemble nightly Playwright tests for the Kubernetes EA, OTel Kubernetes, and OTel Host onboarding flows, which were asserting the visibility of the progress indicator text ("We are monitoring your cluster" / "We are monitoring your host") as proof that data ingestion was detected.

The fix updates each flow's page object to assert the "Explore logs" action link instead — an element that is always rendered once data (or pre-existing data) is detected, regardless of whether the progress indicator is shown or hidden.

@diogolima-elastic diogolima-elastic added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Apr 10, 2026
@diogolima-elastic diogolima-elastic requested a review from a team as a code owner April 10, 2026 12:30
@diogolima-elastic diogolima-elastic added the Team:obs-onboarding Observability Onboarding Team label Apr 10, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented Apr 10, 2026

Approvability

Verdict: Needs human review

Test-only changes that fix Playwright e2e test selectors and remove unused locators, with no production runtime impact. However, all modified files are owned by @elastic/obs-onboarding-team and the author is not a designated owner, so the code owners should review.

No code changes detected at 295b331. Prior analysis still applies.

You can customize Macroscope's approvability policy. Learn more.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@couvq couvq self-requested a review April 13, 2026 12:52
Copy link
Copy Markdown
Contributor

@couvq couvq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@diogolima-elastic diogolima-elastic merged commit 4d5f989 into elastic:main Apr 13, 2026
21 checks passed
michel-laterman pushed a commit to michel-laterman/kibana that referenced this pull request Apr 13, 2026
## Summary

PR elastic#257870 introduced a `checkPreExistingData` mechanism to the shared
`DataIngestStatus` component that conditionally hides the
`ProgressIndicator` when pre-existing data is detected but no new data
has arrived yet. This broke the Ensemble nightly Playwright tests for
the Kubernetes EA, OTel Kubernetes, and OTel Host onboarding flows,
which were asserting the visibility of the progress indicator text ("We
are monitoring your cluster" / "We are monitoring your host") as proof
that data ingestion was detected.

The fix updates each flow's page object to assert the "Explore logs"
action link instead — an element that is always rendered once data (or
pre-existing data) is detected, regardless of whether the progress
indicator is shown or hidden.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:obs-onboarding Observability Onboarding Team v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants